home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGPoint.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  132 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGPoint.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGPoint_h__
  6. #define __gen_nsIDOMSVGPoint_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGMatrix; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGPoint */
  21. #define NS_IDOMSVGPOINT_IID_STR "45f18f8f-1315-4447-a7d5-8aeca77bdcaf"
  22.  
  23. #define NS_IDOMSVGPOINT_IID \
  24.   {0x45f18f8f, 0x1315, 0x4447, \
  25.     { 0xa7, 0xd5, 0x8a, 0xec, 0xa7, 0x7b, 0xdc, 0xaf }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGPoint : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGPOINT_IID)
  31.  
  32.   /* attribute float x; */
  33.   NS_IMETHOD GetX(float *aX) = 0;
  34.   NS_IMETHOD SetX(float aX) = 0;
  35.  
  36.   /* attribute float y; */
  37.   NS_IMETHOD GetY(float *aY) = 0;
  38.   NS_IMETHOD SetY(float aY) = 0;
  39.  
  40.   /* nsIDOMSVGPoint matrixTransform (in nsIDOMSVGMatrix matrix); */
  41.   NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint **_retval) = 0;
  42.  
  43. };
  44.  
  45. /* Use this macro when declaring classes that implement this interface. */
  46. #define NS_DECL_NSIDOMSVGPOINT \
  47.   NS_IMETHOD GetX(float *aX); \
  48.   NS_IMETHOD SetX(float aX); \
  49.   NS_IMETHOD GetY(float *aY); \
  50.   NS_IMETHOD SetY(float aY); \
  51.   NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint **_retval); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMSVGPOINT(_to) \
  55.   NS_IMETHOD GetX(float *aX) { return _to GetX(aX); } \
  56.   NS_IMETHOD SetX(float aX) { return _to SetX(aX); } \
  57.   NS_IMETHOD GetY(float *aY) { return _to GetY(aY); } \
  58.   NS_IMETHOD SetY(float aY) { return _to SetY(aY); } \
  59.   NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint **_retval) { return _to MatrixTransform(matrix, _retval); } 
  60.  
  61. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  62. #define NS_FORWARD_SAFE_NSIDOMSVGPOINT(_to) \
  63.   NS_IMETHOD GetX(float *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  64.   NS_IMETHOD SetX(float aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetX(aX); } \
  65.   NS_IMETHOD GetY(float *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  66.   NS_IMETHOD SetY(float aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetY(aY); } \
  67.   NS_IMETHOD MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->MatrixTransform(matrix, _retval); } 
  68.  
  69. #if 0
  70. /* Use the code below as a template for the implementation class for this interface. */
  71.  
  72. /* Header file */
  73. class nsDOMSVGPoint : public nsIDOMSVGPoint
  74. {
  75. public:
  76.   NS_DECL_ISUPPORTS
  77.   NS_DECL_NSIDOMSVGPOINT
  78.  
  79.   nsDOMSVGPoint();
  80.  
  81. private:
  82.   ~nsDOMSVGPoint();
  83.  
  84. protected:
  85.   /* additional members */
  86. };
  87.  
  88. /* Implementation file */
  89. NS_IMPL_ISUPPORTS1(nsDOMSVGPoint, nsIDOMSVGPoint)
  90.  
  91. nsDOMSVGPoint::nsDOMSVGPoint()
  92. {
  93.   /* member initializers and constructor code */
  94. }
  95.  
  96. nsDOMSVGPoint::~nsDOMSVGPoint()
  97. {
  98.   /* destructor code */
  99. }
  100.  
  101. /* attribute float x; */
  102. NS_IMETHODIMP nsDOMSVGPoint::GetX(float *aX)
  103. {
  104.     return NS_ERROR_NOT_IMPLEMENTED;
  105. }
  106. NS_IMETHODIMP nsDOMSVGPoint::SetX(float aX)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* attribute float y; */
  112. NS_IMETHODIMP nsDOMSVGPoint::GetY(float *aY)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116. NS_IMETHODIMP nsDOMSVGPoint::SetY(float aY)
  117. {
  118.     return NS_ERROR_NOT_IMPLEMENTED;
  119. }
  120.  
  121. /* nsIDOMSVGPoint matrixTransform (in nsIDOMSVGMatrix matrix); */
  122. NS_IMETHODIMP nsDOMSVGPoint::MatrixTransform(nsIDOMSVGMatrix *matrix, nsIDOMSVGPoint **_retval)
  123. {
  124.     return NS_ERROR_NOT_IMPLEMENTED;
  125. }
  126.  
  127. /* End of implementation class template. */
  128. #endif
  129.  
  130.  
  131. #endif /* __gen_nsIDOMSVGPoint_h__ */
  132.